home *** CD-ROM | disk | FTP | other *** search
- Path: newsfeed.internetmci.com!netgrp!news
- From: Jonathan Driscoll <jd@gatekeeper.vic.com>
- Newsgroups: comp.lang.c++
- Subject: Graphics with Borland Turbo c++ 4.5?
- Date: Fri, 02 Feb 1996 18:35:15 -0500
- Organization: Internet Communications Group
- Message-ID: <31129FB3.2F0A@gatekeeper.vic.com>
- NNTP-Posting-Host: smoky8.vic.com
- Mime-Version: 1.0
- Content-Type: text/plain; charset=us-ascii
- Content-Transfer-Encoding: 7bit
- X-Mailer: Mozilla 2.0b6a (Win95; I)
-
- I've been learning c++ from a disk tutorial I got, and it worked
- well until I got to the graphics section. Apparently, that whole
- section is rather worthless, for it assumes you're using dos. When I
-
- #include <graphics.h>
-
- the compler gives me the error that BGI doesn't work under windows. I'm
- rather new to c++, but from what I understand, certain functions
- (specifically, graphics functions) aren't the same for all c++
- compilers, and I have to use graphics functions specific to the Borland
- Turbo c++ compiler. This brings up two problems.
- First, I got into c++ programming because it was supposed to be
- a new and emerging standard in programming languages. But how standard
- can a language be if programs are specific to the brand of compiler
- used? It's all rather disillusioning for a beginning progammer...
- Second, and more importantantly, I have no idea how to use the
- damn thing. Although I commend Borland for their extensive use of
- online help, it's really no help at all. I would really appreciate if
- someone would post a simple (really, really simple) program that does
- something like set the background color and draw a rectangle.
- Thanks for the help,
-
- Jonathan Driscoll (jd@vic.com)
-